/**
 * 示例service,可删除或改造
 */
import Service from './Service'
class Hitokoto extends Service {
  getHitokoto (type) {
    return this.get('/?c=' + type)
  }
  getPagingHitokoto (type) {
    return this.getPagingData('/', {encode: 'json'}, {c: type})
  }
}

export default new Hitokoto()
